/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package slicktest.data;

import slicktest.types.MathEffectType;

/**
 * models a stat modifier for any arbitrary double based stat. Use a negative number
 * to model a decrease
 * @author enrightt
 */
public class StatMod {
    //the numeric value for this modifier
    public final double modifier;
    //whether it's additive or multiplicative
    public final MathEffectType type;

    public StatMod(double modifier, MathEffectType type) {
        this.modifier = modifier;
        this.type = type;
    }

    @Override
    public String toString() {
        return "StatMod{" + "modifier=" + modifier + "type=" + type + '}';
    }
}
